		Avance Logic ALS100/007SP/007 Sound System 
		  Software Installation and Setup

DOS and Windows 3.1 Installation for ALS100/007SP/007: 

Setup.exe for Windows 3.1:

The Setup.exe is a Windows 3.1 setup program that installs DOS and Windows
3.1 drivers and utilities.

The user can run Setup.exe by selecting File \ Run... and typing "A:SETUP" on
the command line under Windows 3.1 Program Manager or by typing "A:SETUP" at
DOS prompt if Windows directory is in the PATH. The Setup.exe copies all the
DOS drivers and utilities to the directory that user specifies during the
setup program.  All the Windows 3.1 drivers and VxDs are copied to the 
Windows system directory.  When the user installs the Avance Sound System
for the first time the Alsetup.exe is started to configure the board setting
after the Setup program is finished.

Install.exe for DOS:

The Install.exe is a DOS installation program that copies all the DOS drivers
and utilities to the directory that user specifies.  When the user installs
the Avance Sound System for the first time the Alsetup.exe is started to
configure the board setting after the Setup program is finished.  Install.exe
can be installed by typing A:Install.exe at the DOS prompt.  The user can
install Windows 3.1 drivers too but it is not recommended.

Windows 95 installation procedure for ALS100/007: 

1. After user installs the ALS100/007 sound card and power 
   on the system, Windows 95 will prompt user a "New Hardware Found" 
   dialog box since the ALS100/007 sound card is ISA plug and play. To install the 
   Windows 95 drivers, select "Driver from disk provided by 
   hardware manufacturer" and click on OK.
2. Insert the "ALS100/ALS007SP/007 DOS/Win3.1/Win 95 Drivers and 
   Utilities" diskette into the appropriate drive and select that 
   drive from the prompted dialog box and click on OK. Windows 95 
   will copy all the needed files and set up all the logic devices 
   on the board automatically.

Windows 95 installation procedure for ALS007SP:

1. Install ALS007SP sound card and power up machine.  After Windows 
   95 starts up, go to the Control Panel and select "Add New Hardware".
2. Follow the instructions provided by Windows 95 for adding new 
   hardware, selecting "NO" when Windows 95 asks if you want to 
   scan for new hardware. (ALS007SP is not hardware ISA Plug and 
   Play and therefore, Win 95 will not detect it). Push "Next". 
3. Select "Sound, Video and Game Port" Device from menu and push 
   "Next".
4. To install the Windows 95 drivers, push "Have Disk..." button 
   and insert the "ALS100/ALS007SP/007 DOS/Win3.1/Win95 Drivers and 
   Utilities" diskette into the appropriate drive and select that 
   drive from the prompted dialog box and click on OK.
5. If user wishes to install all drivers, including those for the 
   on-board IDE CD ROM Controller and game port, select "ALS007SP 
   Device Drivers (enable on-board IDE CD ROM)."
6. If user wishes to install all drivers (including on-board game 
   port), but disable those for the on-board IDE CD ROM Controller 
   (CD ROM interface will not be used), select "ALS007SP Device 
   Drivers (disable on-board IDE CD ROM)."
7. If user wishes to install only the sound card audio drivers, 
   and disable the on-board game port and CD ROM, select "ALS007SP 
   Device Drivers (disable on-board IDE CD ROM Controller and game 
   port)."
8. Windows 95 will then copy all the needed files and set up all 
   the logic devices on the board automatically.
9. If user encounters conflicts during installation, cancel the 
   installation. The best solution is to install each device 
   separately, by choosing each of the 5 device drivers individually 
   in the dialog box.  The device drivers are:  Logic Device 0 = 
   Wav Audio Device; Logic Device 1 = Internal Midi (OPL-3) Device; 
   Logic Device 2 = Joy Stick/Game Port Device; Logic Device 3 = 
   External Midi (MPU-401) Device; Logic Device 4 = IDE CD ROM 
   Controller.


Troubleshooting:

This appendix provides some tips and information for some of the 
problems you might encounter with your ALS100 ALS007SP and ALS007 sound 
card either during installation or normal use.

Problems in DOS
Problem: 	Cannot load IDE CD-ROM drive.
Cause:		IDE port is not enabled. Check the config.sys file under 
        	C: root directory and you should see "device=c:\alsound
        	\cdsetup.sys" before loading your CD-ROM driver. The 
        	cdsetup.sys enables the IDE port.
Solution:	Run c:\alsound\alsetup.exe again and select the CD-ROM 
		IDE. When you leave the alsetup program, device=c:\alsound
		\cdsetup.sys will be added to config.sys. Make sure 
		that this line is before loading the CD-ROM driver.

Problem:	No sound in the DOS game
Cause:		There could have some conflicts in the SB16 settings.
Solution:	Rerun the c:\alsound\alsetup.exe and try another Port, 
		DMA, or IRQ.

Problems in Windows 3.1
Problem:	There is no "Sound..." or "MIDI Sequencer..." item 
		under the menu "Device" in the Media Player. Or 
		Almixer.exe application doesn't work.
Cause:		Because the driver is not loaded.
Solution:	Open the SYSTEM.INI file with any file editor. You 
		should see the following: 
		[drivers]
		Wave=alsndsys.drv
		Aux=alsndsys.drv
		Mixer=alsndsys.drv
		Midi=alopl.drv
		Midi1=almpu401.drv

		[386Enh]
		device=alsndsys.386
		device=alopl.386
		device=almpu401.386

		[boot]
		drivers=mmsystem.dll msmixmgr.dll

Problems in full duplex
Problem:	can not play and record at same time
Cause:		1. the sound card is not ALS100 sound card
		2. in ALS.ini, full duplex function was disable
		3. only one DMA channel was allocated
		4. the parameters of playback are not the same as 
		   that of recording.
Solution:	for 1,  sorry, no solution. 
		for 2,  in ALS.ini, make sure the following setting
			[Option]
			FullDuplexFunction = 1 	---- enable full duplex
		for 3. 	in order to enable full duplex function in ALS100
			two DMA channel must be allocated.
			In Windows3.1, run alconfig.exe to select two DMA
			channels, one is from 0,1,3 and the other is from 5,6,7
			(By default, we provide 2 channels)
			In Windows95, generally system should automatically 
			provide two DMA channels for ALS100 sound card, if it
			did not, that means either all of 8 bit DMA channel or
			all of 16 bit DMA channel have been allocated to other 
			devices, remove the other devices and try again.
		for 4.  following conditions must be satisfied with full duplex
			<a> the format for playback and recording must be 16 bit
			<b> the channels for playback and recording must be same
			<c> the sample rate for playback and recording must be same

Problem:	Some third party mixer application with Sound Blaster compatible
		would not run with Avance Sound System.
Cause:	Avance Sound System is Microsoft Sound System compatible. Avance
		Logic, Inc. doesn't support old Sound Blaster Mixer Interface.
Solution:	Use ALSRACK.EXE application that is shipped with this disk.


Problem:	CD audio would not play after the ALS drivers are installed.
Cause:		The user didn't install the [MCI]CD-AUDIO driver.
Solution:	Manually added [MCI]CD-AUDIO driver via Control Panel.

	

Problems in Windows 95 installation for ALS007SP:
Problem:	Resources always conflict when a user tries to upgrade 
		Windows 95 audio device drivers over the Windows 3.1 
		audio device drivers.
Cause:		There are two cases: user could run install.exe to 
		install Windows 3.1 audio device drivers onto Windows 
		95 and user could install Windows 3.1 audio device 
		drivers onto Windows 3.1 and later on upgrade the 
		operating system to Windows 95. The Windows 3.1 audio 
		device drivers work under Windows 3.1 but it wouldn't 
		be software plug and play. The problem would happen 
		when the user tries to upgrade to Windows 95 audio 
		device drivers because all the resources have been 
		taken by Windows 3.1 audio device drivers.
Solution:	Install the Windows 95 drivers with conflict and then 
		delete the Windows 95 drivers in the "Device Manager" 
		in Control Panel \ System. Or manually remove all the 
		driver entries (listed in "problem in Windows 3.1") at 
		section [386Enh] and [drivers] in SYSTEM.INI file. 
		Reinstall Windows 95 audio device driver after restart 
		Windows 95.



Appendix - Driver Reference:

Windows drivers
ALS100/007SP/007 has three sets of driver and VxD for Windows 95 and Windows
3.1. They are listed below:

			Sound System Driver	OPL3 Driver	MPU401 Driver
Windows 95 Drivers	Alsndsys.drv		Alopl.drv	Almpu401.drv
Windows 95 VxDs		Alsndsys.vxd		Alopl.vxd	Almpu401.vxd
Windows 3.1 Drivers	Alsndsys.drv		Alopl.drv	Almpu401.drv
Windows 3.1 VxDs	Alsndsys.386		Alopl.386	Almpu401.386

The Avance Sound System, OPL3, and MPU401 drivers are binary compatible with 
Windows 95 and Windows 3.1 but the VxDs have different binaries for Windows 95 
and Windows 3.1. The Windows 3.1 VxDs have their externsion .386 and the
Windows 95 VxDs have their externsion .vxd.

The Windows 95 joystick drivers are the Msjstick.drv and Vjoyd.vxd 
that are Microsoft drivers shipped with Windows 95. Besides these 
eight Windows 95 drivers and VxDs, a Als107sp.inf file is needed for 
Windows 95 installation.

For Windows 3.1, drivers and VxDs have to be specified in the system.ini 
file and be loaded when the Windows 3.1 starts. The entries listed in below 
should be added to system.ini file by the setup program.

	[386Enh]			[drivers]
	device = alsndsys.386		wave  = alsndsys.drv
	device = alopl.386		mixer = alsndsys.drv
	device = almpu401.386		aux   = alsndsys.drv
					midi  = alopl.drv
					midi1 = almpu401.drv

DOS drivers:
The DOS drivers include Cdsetup.sys, Alsinit.exe, and Alsetup.exe.

Cdsetup.sys
The Cdsetup.sys initializes the CD-ROM IDE port before the CD-ROM driver is 
loaded if the user has a CD-ROM drive attached to the IDE port on the Avance 
sound board.  The Cdsetup.sys is specified in the Config.sys file as below.
		device = C:\Alsound\Cdsetup.sys
		device = C:\Sony\Atapi_cd.sys /D:SNIDE01
The Cdsetup.sys is not a TSR program. There is no harm in running this 
program if there is no CD-ROM drive attached to the IDE port on the Avance
 sound board.

Alsinit.exe
The Alsinit.exe initializes the Avance sound chip ALS100/007SP. It is 
specified in the Autoexec.bat file followed by a path name as below.
		C:\Alsound\Alsinit.exe C:\Win31
Alsinit.exe and Alsetup.exe use the path that follows the Alsinit.exe 
in the Autoexec.bat to find the initial data file Als.ini. The Alsdos.ini
has been renamed to Als.ini and the format has been changed to standard 
Windows ini file format. The Als.ini file will be copied to the Windows 
directory or the same directory as Alsinit.exe for DOS-only installation. 
The Windows sound system driver Alsndsys.drv and the Windows sound rack 
application Alsrack.exe also share Als.ini file for initial values. 

If the OEM or an end user want to hear or not hear playing a sound this
initialization time. he can change a option value at ALS.INI file
		[Option]
		PlaySoundAtInitial=No/Yes


Alsetup.exe
The Alsetup.exe is a DOS program to help users change the IO, IRQ, 
and DMA resource for the Avance sound system on board devices and to 
test the new settings through playing the Stest8.wav, Stest16.wav, 
and Fmtest.mid test files. The new settings are saved in the Als.ini 
file which will be used when Alsinit.exe initializes the board. 

ALS107SP.INF for Windows 95:

The ALS107SP.INF is a Windows 95 installation information file. 
It tells the Windows 95 to where the drivers should be copied. 
See the instructions above for ALS100/007SP/007 Windows 95 installation.

AlsRack for ALS100/007SP/007
1.   Structure and component.
     ALSRACK consists of MIXER control panel, MIDI panel, WAVE panel, and CD
panel.
1.1  Enable or disable a panel.
     Push the button of MIDI, WAVE, or CD in MIXER control panel will cause
the corresponding panel disappear, push it again, the corresponding panel
will appear.
1.2  Change channel.
     Use channel LEFT or RIGHT button to change to the channel you want.
1.3  Volume and balance control.
     Change to the channel you want, then push volume UP or DOWN button to
change the volume, or push balance LEFT or RIGHT to change balance.
1.4  Mute.
     Change to the channel you want, then push button MUTE to disable sound,
push it again to enable sound.


2.   MIDI panel.
2.1  Open or close a MIDI file.
     Push the button of the MIDI sign on MIDI panel, choose OPEN to open a
MIDI file, or choose CLOSE to close the MIDI file which is open.
2.2  Auto repeat and show information.
     Push the button of the MIDI sign on MIDI panel, click on AUTO REPEAT or
SHOW INFORMATION will enable or disable the selection. When AUTO REPEAT is
selected, the MIDI file will be played again when it is played to the end.
When SHOW INFORMATION is selected, the MIDI window will open and the
information of the MIDI file will appear on the MIDI window. When a MIDI
file is opened, you can also push MIDI window to show the information of the
MIDI file.
2.3  Other operation
     When a MIDI file is opened, you can push PLAY to play it, or push PAUSE
or STOP or FF or RW to do what you want. You can also use the volume control
buttons on MIDI panel to control the volume directly.


3.   WAVE panel
3.1  Select TAPEI or TAPEII to playback
     There are two TAPE boxes on the WAVE panel. TAPEI can only play wave
file. TAPEII can not only play wave file but also record wave file. There is
only one set of control buttons on the right of WAVE panel. When you select
TAPEI, the control buttons will take effect for TAPEI. When you select
TAPEII, the control buttons will work for TAPEII. You can push the button
TAPEI/TAPEII to select TAPEI or TAPEII, or you can push the button TAPEI
PLAYBACK on TAPEI box to select TAPEI, while push the button TAPEII REC/PLAY
on TAPEII box to select TAPEII. But, recording button only works for TAPEII.

Note: When you want to playback a wave file, you need to select a TAPE first.
3.2  Open a wave file to play
     Push the button of OPEN sign, select OPEN on the menu, select a wave
file you want to play. When a wave file is opened, the TAPE contains this
file is automaticlly selected, you can push the PLAY button to play it.
3.3  Record a wave file
     When you want to record a wave file, first you should push the button
REC.INPUT to select the input media(Line in, MIDI, Audio CD, or MIC), then
you need to push the the button OPEN on TAPEII then select NEW to new a wave
file, after that the TAPEII selecting indicator will be red flash to show it
is waiting for recording, at this time you can play the source media, then
push recording button on TAPEII to begin recording. After recording you can
save it as the name you specified.
     When you finish the recording, push the recording button(now it is a
red square) to stop it.
3.4  Full-duplex
     For sound card supporting full-duplex, TAPEI and TAPEII can work at the
same time. It means while TAPEI is playing TAPEII can do recording, or while
TAPEII is recording TAPEI can do playing. 
     When you using full-duplex, the control buttons will work like this:
playback button and stop button only take effect for TAPEI, recording button
certainly only working for TAPEII, push recording button once will begin
recording, push it again will stop recording.
3.5  Synchronic recording
     After you select a INPUT media and new a wave file for recording, you
can push button SYNC.REC to begin a synchronic recording. It means it will
automaticlly play the source file and begin recording at the same time.


4.   CD
4.1  EDIT and Program
     You can push EDIT to select which track(a song or a piece of music) you
want to play by adding it. After that you can push Program button to begin
play the selected tracks.
4.2  Random play
     When you push Random button, the track order will be rearranged
randomly to play.
4.3  Repeat
     When you push Repeat button, a repeat once sign will appear, it means
this track will be repeat once. When you push Repeat button again, a full
repeat sign will appear, it means this tract will be played again and again.
When you push Repeat button again, the repeat sign disappears.

